﻿using System;
using System.Data;
using System.Configuration;
using System.Linq;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.HtmlControls;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Xml.Linq;

/// <summary>
/// Summary description for Working
/// </summary>
[Serializable]
public class Working
{
    private Guid _id;
    private Guid _employeeID = Guid.Empty;
    private byte _shiftID;
    private string _shiftName = String.Empty;
    private DateTime _loginTime;
    private DateTime _logoutTime;
    private Guid _lastUser = Guid.Empty;
    private DateTime _lastUpdate;
    private Employee _employee;

    


    public Working()
    {
    }

    #region Public Properties
    public Guid Id
    {
        get { return _id; }
        set { _id = value; }
    }

    public Guid EmployeeID
    {
        get { return _employeeID; }
        set { _employeeID = value; }
    }

    public byte ShiftID
    {
        get { return _shiftID; }
        set { _shiftID = value; }
    }

    public string ShiftName
    {
        get { return _shiftName; }
        set { _shiftName = value; }
    }

    public DateTime LoginTime
    {
        get { return _loginTime; }
        set { _loginTime = value; }
    }

    public DateTime LogoutTime
    {
        get { return _logoutTime; }
        set { _logoutTime = value; }
    }

    public Guid LastUser
    {
        get { return _lastUser; }
        set { _lastUser = value; }
    }

    public DateTime LastUpdate
    {
        get { return _lastUpdate; }
        set { _lastUpdate = value; }
    }

    public Employee Employee
    {
        get { return _employee; }
        set { _employee = value; }
    }
    #endregion
}
